// 网易云音乐相关的 API 接口
import NeteaseCloudMusicApi from '@/utils/NeteaseCloudMusicApi'

// 按需导出歌单详情数据
export const getPlayListByIdAPI = function (id) {
  return NeteaseCloudMusicApi.get(`/playlist/detail?id=${id}`)
}

// 按需导出音乐 url 数据
export const getSongUrlByIdAPI = function (id) {
  return NeteaseCloudMusicApi.get(`/song/url?id=${id}`)
}

// 按需导出专辑详情数据
export const getAlbumConByIdAPI = function (id) {
  return NeteaseCloudMusicApi.get(`/album?id=${id}`)
}
